package com.example.newgame;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

public class NewGameDescriptionActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
/*
        setContentView(R.layout.newgamedescriptionlayout);

        Bundle bundle = getIntent().getExtras();
        String name = bundle.getString("name");
        String[] races = bundle.getStringArray("races");

        TextView newGameDescriptionName = (TextView) findViewById(R.id.newGameDescriptionName);
        newGameDescriptionName.setText(name);


        final LinearLayout layout = (LinearLayout) findViewById(R.id.newGameDescriptionRaceLine);
        LayoutInflater linflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);


        for (String race : races) {
            View view = linflater.inflate(R.layout.newgamedescriptionraceline, null);
            TextView newGameDescriptionRace = (TextView) view.findViewById(R.id.newGameDescriptionRaceName);
            newGameDescriptionRace.setText(race);
            layout.addView(view);
        }

*/
    }
}
